import request from '@/utils/request'
// 登录
export const loginApi = (data) => request({
  url: '/api/user-service/user/login',
  method: 'post',
  data
})
//  /api/user-service/user/imageCode/:clientToken
// 图片验证码
export const codeImgApi = (clientToken) => request({
  url: `/api/user-service/user/imageCode/${clientToken}`,
  responseType: 'arraybuffer',
  isImg: true
})
